package com.qitianyong.selfclass;

/**
 * Created by gy on 2017/7/26.
 */

public class ClickUtils {
    private static long lastClickTime;
    public static boolean isFastClick(){
        long currentTimeMillis = System.currentTimeMillis();
        if(currentTimeMillis- lastClickTime<300){
            return true;
        }
        lastClickTime = currentTimeMillis;
        return false;
    }
}
